<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
	<head>
		 <!-- 这里引入导航信息header.tpl -->
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>新增资讯信息 ( 市场热点产品 ) </title>
		<script type="text/javascript">
			var targetPath = '<%=context%>' + 'business/prdSetup/news/';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix(targetPath);
				window.hotNewsAdd = new HOT_NEWS_ADD();
			});
		</script>
	</head>
	<body class="sub-page">
		<jsp:include page="/WEB-INF/jsp/system/index/homeHead.jsp">
			<jsp:param name="currentActive" value="cpcs" />
		</jsp:include>
		
		<div class="location">
			<i class="fas fa-home"></i>
			<p>您现在的位置：主页</p>
			<p class="current">&gt;产品创设</p>
			<p class="current">&gt;市场热点产品</p>
			<p class="current">&gt;新增</p>
		</div>
		<div class="container">
			<div class="page-content result-box">
			    <form id="hotNewsAddForm" name="hotNewsAddForm" role="form" method="post" class="form-horizontal">
			    	<div class="model">
		      			<div class="model-head">
		      				<span class="head-boder-left"></span>
		        			<h2>新增资讯信息 ( 市场热点产品 ) </h2>
		      			</div>
		      			
		      			<div class="model-content">
					    	<div class="form-group">
				                <label class="col-sm-2 control-label">管理人<span class="text-danger">*</span></label>
				                <div class="col-sm-10 form-inner">
				                    <select class="form-control" name="managerId" id="managerId" placeholder="管理人"></select>
				                </div>
				            </div>
							<div class="form-group">
				            	<label class="col-sm-2 control-label">产品名称<span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="产品名称" id="prjName" name="prjName">
								</div>
					        </div>
					        <div class="form-group">
				                <label class="col-sm-2 control-label">产品状态<span class="text-danger">*</span></label>
				                <div class="col-sm-10 form-inner">
				                    <select class="form-control" name="prjStatus" id="prjStatus" placeholder="产品状态">
				                    	<option value="">全部</option>
				                    	<wasp:dictOptions dctRootType="PRJ_STATUS"></wasp:dictOptions>
				                    </select>
				                </div>
				            </div>
				            <div class="form-group">
				                <label class="col-sm-2 control-label">运作模式<span class="text-danger">*</span></label>
				                <div class="col-sm-10 form-inner">
				                    <select class="form-control" name="runMode" id="runMode" placeholder="运作模式">
				                    	<option value="">全部</option>
				                    	<wasp:dictOptions dctRootType="RUN_MODE"></wasp:dictOptions>
				                    </select>
				                </div>
				            </div>
				            <div class="form-group">
				                <label class="col-sm-2 control-label">收益模式<span class="text-danger">*</span></label>
				                <div class="col-sm-10 form-inner">
				                    <select class="form-control" name="profitMode" id="profitMode" placeholder="收益模式">
				                    	<option value="">全部</option>
				                    	<wasp:dictOptions dctRootType="PROFIT_MODE"></wasp:dictOptions>
				                    </select>
				                </div>
				            </div>
				            <div class="form-group">
				            	<label class="col-sm-2 control-label">产品期限（月）<span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="产品期限（月）" id="prjTerm" name="prjTerm">
								</div>
					        </div>
				            <div class="form-group">
				            	<label class="col-sm-2 control-label">起投金额（元）<span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="起投金额（元）" id="startInvestAmount" name="startInvestAmount">
								</div>
					        </div>
					        <div class="form-group">
				            	<label class="col-sm-2 control-label">募集规模（元）<span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="募集规模（元）" id="raiseScale" name="raiseScale">
								</div>
					        </div>
					        <div class="form-group">
				                <label class="col-sm-2 control-label">风险等级<span class="text-danger">*</span></label>
				                <div class="col-sm-10 form-inner">
				                    <select class="form-control" name="riskLevel" id="riskLevel" placeholder="风险等级">
				                    	<option value="">全部</option>
					                    <wasp:dictOptions dctRootType="RISK_LEVEL"></wasp:dictOptions>
				                    </select>
				                </div>
				            </div>
					        <div class="form-group">
				            	<label class="col-sm-2 control-label">募集起始日期 <span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="募集起始日期" readonly="readonly" id="raiseBeginDate" name="raiseBeginDate">
								</div>
					        </div>
					        <div class="form-group">
				            	<label class="col-sm-2 control-label">募集结束日期 <span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="募集结束日期" readonly="readonly" id="raiseEndDate" name="raiseEndDate">
								</div>
					        </div>
					        <div class="form-group">
				            	<label class="col-sm-2 control-label">产品成立日期 <span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="产品成立日期" readonly="readonly" id="prjBeginDate" name="prjBeginDate">
								</div>
					        </div>
					        <div class="form-group">
				            	<label class="col-sm-2 control-label">产品结束日期 <span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="产品结束日期" readonly="readonly" id="prjEndDate" name="prjEndDate">
								</div>
					        </div>
					        <div class="form-group">
				            	<label class="col-sm-2 control-label">业绩报酬计提基准/单位净值 <span class="text-danger">*</span></label>
					            <div class="col-sm-10 form-inner">
				 					<input class="form-control" placeholder="业绩报酬计提基准/单位净值" id="compref" name="compref">
								</div>
					        </div>
					        <div class="form-group">
								<label class="col-sm-2 control-label">备注</label>
								<div class="col-sm-10 form-inner">
									<textarea name="remark" id="remark" class="form-control" rows='5' cols='50'></textarea>
								</div>
							</div>
					    </div>
					</div>
					
					<div class="model">
						<div class="model-head">
							<span class="head-boder-left"></span>
							<h2>附件</h2>
						</div>
						<div class="model-content clear">
							<jsp:include page="/WEB-INF/jsp/system/sys/attach/attachView.jsp">
								<jsp:param name="module" value="newInfoAddView" />
								<jsp:param name="hasPermission" value="insertMarketHotPrj" />
								<jsp:param name="resourceSign" value="HOT_NEWS"/>
								<jsp:param name="hidAttIdField"  value="{{attId}}"/>
							</jsp:include> 
						</div>
				    </div>
				    
				    <div class="page-footer" >
						<button type="button" id="submitBtn" class="btn btn-primary btn-save btn-loading btn-w-xs" data-loading-text="<i class='ico-loading'></i>" onclick="hotNewsAdd.submitForm()">提交</button>
						<button type="button" id="cancelBtn" class="btn btn-link btn-w-xs" onclick="window.close();">取消</button>
					</div>
				</form>
			</div>
		</div>
		<script type="text/javascript" src="<%=context%>resources/modules/business/prdSetup/news/hotNewsInfo.add.js?r=<%=Math.random()%>"></script>
	</body>
</html>